#include <iostream>
#include <algorithm>
#include<vector>
#include <set>
#include <sstream>
using namespace std;

int main() {

	string s;
	int b;

	cin >> s;
	scanf("%d", &b);

	for (int i = 0; i < s.size(); i++) {
		
	}


    return 0;
}	